package com.coocaa.internship.service;

import com.coocaa.internship.common.ResultData;
import com.coocaa.internship.pojo.DeliverCv;

/**
 * @Description: 简历投递业务
 * @Author: zwh
 * @Date: 2019-08-02
 * @Time: 0:01
 */
public interface DeliverCvService {

    /**
     * 新增简历投递信息
     *
     * @return
     */
    ResultData insertDeliverCv(DeliverCv deliverCv);

    /**
     * 查询已投递简历通过简历id
     *
     * @return
     */
    ResultData selectDeliverCvByCvId(Long userCvId);

    /**
     * 查询已投递简历通过用户id
     *
     * @return
     */
    ResultData selectDeliverCvByUserId(Long userId);

    /**
     * 通过简历ID删除简历信息
     *
     * @return
     */
    ResultData deleteDeliverCvByCvId(Long userCvId, Long positionId);


}
